export  enum  myColor{
  main_color='#6b6bbf',
  light_grey='#b4b4b4',
  dark_grey='#FF9B9B9B',
  green='#4de1b4',
  blue='#0078FF',
  yellow='#ffa55d',
  background_color='#f9fafe',
  low='#70B3FE',
  normal='#68D89E',
  heigh='#FC726E'
}
export function getCurrentTime(): string {
  const date = new Date();
  const year=date.getFullYear()
  const month = date.getMonth() + 1;
  const day = date.getDate();
  const hours = date.getHours();
  const minutes = date.getMinutes();

  // 格式化月、日、时、分为两位数形式
  const formattedMonth = month < 10 ? '0' + month : '' + month;
  const formattedDay = day < 10 ? '0' + day : '' + day;
  const formattedHours = hours < 10 ? '0' + hours : '' + hours;
  const formattedMinutes = minutes < 10 ? '0' + minutes : '' + minutes;
  // 1月1日0：00
  return `${year}年${formattedMonth}月${formattedDay}日$`;
}

export enum limit{
  HeartRateLow=60,
  HeartRateHeigh=100,
  BloodPressureLow=95,
  BloodPressureHeigh=100,
  BodyTemperatureLow=36,
  BodyTemperatureHeigh=37.3,
}